package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.sc.nft.enums.AwardsTypeEnum;
import com.sc.nft.sup.SuperEntity;
import java.math.BigDecimal;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 分红配置表(sc_dao_share_config)实体类
 *
 * @author zxy
 * @since 2023-12-14 16:20:11
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
    @TableName("sc_dao_share_config")
public class DaoShareConfig extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 分红名称
     */
    private String name;
    /**
     * daoId
     */
    private Long daoId;

    /**
     * 状态
     */
    private Boolean status;

    /**
     * 奖项类型
     */
    private AwardsTypeEnum awardsType;
    /**
     * 分红身份
     */
    private Long identityCollectionId;
    /**
     * 直推藏品Id
     */
    private Long pushCollectionId;
    /**
     * 直推人数
     */
    private Integer holdUserCount;
    /**
     * 统计时长(天)
     */
    private Integer calDuration;
    /**
     * 首发发放比例
     */
    private BigDecimal firstShareRatio;
    /**
     * 二级发放比例
     */
    private BigDecimal secondShareRatio;

    /**
     * 乐观锁
     */
    @Version
    private Integer version;
}